import request from '@/utils/request'
// 登录
export const syslogin = (data) => {
  return request({
    url: '/sys/login',
    method: 'post',
    data
  })
}
export const sysprofile = () => {
  return request({
    url: '/sys/profile',
    method: 'post'
  })
}
export const sysUser = (id) => {
  return request({
    url: '/sys/user/' + id
  })
}
